const api = {
    //登录
  smsLogin:'/api/common/v1/system/sms-login',
    //首页
  queryActionNavigatio: '/api/common/v1/CoverageActionNavigation/queryActionNavigatio',//轮播
  chsoleYMGoods:'/api/common/v1/CoverageGoods/chsoleYMGoods',//匀贸商品

    //  农贸
    navData: '/api/common/v1/product-type/list?parentId=4', //导航
    sortData: '/api/common/v1/product-type/list', //导航
    shopListData: '/api/common/v1/CoverageGoods/chsoleYMGoods', //商品列表
    goodsDetailedData: '/api/common/v1/CoverageGoods/queryGoodsDetailed', //商品详情
    CommodityEvaluationData: '/api/common/v1/goods-comment/goods-comments', //商品详情评论
    ShopData: 'api/common/v1/CoverageBusinessApplication/queryShopId', //商品店铺
    ShopGoodsHomeData: 'api/common/v1/CoverageGoods/queryShopGoodsHome?type=all&desc=asc', //店铺商品
    BargainData: '/api/common/v1/CoverageGoods/queryBargainList', //店铺商品
    WholesaleData: '/api/common/v1/CoverageGoods/queryRetailGoodsHome', //零售商品
    WholesaleDataList: '/api/common/v1/product-type/queryImportOrRetailGoodsType?type=', //零售商品导航
    ImportDataList: '/api/common/v1/product-type/queryImportOrRetailGoodsType?type=1', //进口商品导航
    ImportData: '/api/common/v1/CoverageGoods/queryImportGoodsHome', //进口商品
    agentTitleData: '/api/common/v1/product-type/queryImportOrRetailGoodsType?type=1', //二代分销
    agentData: '/api/common/v1/drp/drpProductInfo', //二代分销商品
    commodityNav: '/api/common/v1/product-type/list', //分类商品导航
    commodityData: '/api/common/v1/CoverageGoods/queryGoodsType', //分类商品列表
    aboutData: '/api/common/v1/CoverageGoods/queryGoodsName', //搜索
    aboutShopByNameData: '/api/common/v1/CoverageBusinessApplication/queryShopByName', //搜索商品列表
    UserAddressData: '/api/common/v1/CoverageUserAddress/UserAddressByUserId', //默认地址
    getpriceData: '/api/common/v1/template/getprice', //运费
    collectProductData: '/api/common/v1/cmCollect/collectProduct', //收藏
    payData: '/api/common/v1/order/purchase-immediately', //支付
    payNewData: '/api/common/v1/order/chsoleOrder', //匀贸支付


    //用户
    toWxActivity: "/api/common/v1/system/toWxActivity", //获取用户基本信息
    thirdPartyLogin: "/api/common/v1/system/third-party-login", //登录
    getoken: "api/common/v1/logistics/token",
    userIndexData: '/api/common/v1/system/queryUserById', //获取用户
    userAddresslist: '/api/common/v1/CoverageUserAddress/queryUserAddress', //调用用户地址
    CollectData: '/api/common/v1/cmCollect/queryProductCollect', //收藏
    collectProductList: '/api/common/v1/cmCollect/collectProduct', //删除收藏
    UserGoodsAddressData: '/api/common/v1/CoverageUserAddress/UpdateUserGoodsAddress', //修改地址
    AddUserAddress: '/api/common/v1/CoverageUserAddress/AddUserAddress', //新增地址
    insertComplaintsData: '/api/common/v1/CoverageComplaints/insertComplaints', //投诉建议
    userNewsData: '/api/common/v1/CoverageNews/queryUserNews', //我的发帖
    deleteNewsData: '/api/common/v1/CoverageNews/deleteNews', //删除我的发帖
    farmShopStateData: '/api/common/v1/farmLease/farmShopState', //申请入驻店铺的状态
    myFarmShopData: '/api/common/v1/farmLease/queryMyFarmShop', //农庄入驻和个人认证数据回显
    modifyUserAttr: '/api/common/v1/system/modifyUserAttr', //修改用户信息接口
    queryMoneyInfn: '/api/common/v1/Integrate/queryMoneyInfn', //余额记录
    queryIntegrateToStc: '/api/common/v1/Integrate/queryIntegrateToStc', //STC记录
    integrateRecord: '/api/common/v1/Integrate/integrateRecord', //积分记录
    queryUserTeamInfo: '/api/common/v1/system/queryUserTeamInfo', //分享记录
   DeleteUserGoodsAddress:'/api/common/v1/CoverageUserAddress/DeleteUserGoodsAddress',//删除地址

    //我的订单
    orderList: '/api/common/v1/order/list', //订单列表
    orderStatus: '/api/common/v1/order/order-status', //取消订单
    orderInfo: '/api/common/v1/order/order-info', //我的订单详情
    queryOrderInfo: '/api/common/v1/order/queryOrderInfo', //订单详情


    //支付
    weixinWEBPay: "api/common/v1/WxPay/weixinWEBPay",
    weixinUrl: "api/common/v1/wx/shareInfo",

    //订单
    orderDetail: "api/common/v1/order/queryOrderInfo",
    myRecordList:'/api/common/v1/order/myRecordList',

    //农讯
    typesList: "/api/common/v1/CoverageNews/typesList", //农讯tab
    queryUserNews: "/api/common/v1/CoverageNews/queryUserNews", //列表
    insertCoverageNews:'/api/common/v1/CoverageNews/insertCoverageNews',//发帖
    //拼团
    ImportOrRetailGoodsTypeData: '/api/common/v1/product-type/queryImportOrRetailGoodsType', //拼团导航
    getGroupOrderList: '/api/common/v1/product-type/groupProductInfo', //拼团列表
    goodsDetailedlist: '/api/common/v1/CoverageGoods/queryGoodsDetailed', //拼团商品详情
    groupAddOrder: '/api/common/v1/order/groupAddOrder', //拼团下单
    groupUserInfoData: '/api/common/v1/product-type/getGroupUserInfo', //拼团人员列表
    groupRecordDataList: '/api/common/v1/product-type/getGroupOrderList', //拼团记录
    listDetailsDataList: '/api/common/v1/product-type/getOrderDetails', //拼团记录详情
    //  秒杀
    seckillDatesList: '/api/common/v1/CoverageGoods/querySeckillDates', //查秒杀商品时间段
    seckillHomeList: '/api/common/v1/CoverageGoods/querySeckillHome', //查秒杀商品首页
    //  砍价
    detailedList: '/api/common/v1/CoverageGoods/queryGoodsDetailed', //砍价商品详情
    shareBargainList: '/api/common/v1/CoverageGoods/shareBargainList', //砍价商品记录
    bargainListData: '/api/common/v1/CoverageGoods/bargainList', ///分享砍价商品
    bargainList: '/api/common/v1/CoverageGoods/bargain', //砍价多少元
   //服务规则
   textList:'/api/common/v1/platform-Agreement/queryAgreementById',//农庄租赁服务规则
//  积分
  IntegralList:'/api/common/v1/Integrate/integrateList',//积分
  submitOrderData:'/api/common/v1/Integrate/submitOrder',//积分下单
  selectSlbDetail:'/api/common/v2/userSlb/select-slb-detail',//账单
//  主页列表
  cateringIndexList:'/api/common/v1/catering/cateringIndexList',//农家餐饮
  scenicSpotIndexList:'/api/common/v1/scenicSpot/scenicSpotIndexList',//旅游景点
  hotelIndexList:'api/common/v1/hotelReputation/hotelIndexList',//民宿客栈
  farmGoodsList:'/api/common/v1/CoverageActionNavigation/farmGoodsList',//共享家畜
//分享
  shareCouponsList:'api/common/v1/share/list',
};

export default api;
